import ThemeBtn from '@/components/antd-comp/theme-btn'
import { Result } from 'antd'
import React from 'react'

const App: React.FC = () => {
  const handleError = () => {
    window.location.href = '/'
  }
  return (
    <Result
      status="warning"
      title="There are some problems with your operation."
      extra={
        <ThemeBtn className="migu-font-600 h-[36px] w-[92px]" onClick={() => handleError()}>
          刷新页面
        </ThemeBtn>
      }
    />
  )
}

export default App
